package com.prs.crm.service.cqunicom.impl;

import java.util.Date;
import java.util.List;

import com.prs.crm.dao.cqunicom.OrderDao;
import com.prs.crm.domain.cqunicom.Company;
import com.prs.crm.domain.cqunicom.PoplarOrder;
import com.prs.crm.domain.cqunicom.Services;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.service.cqunicom.OrderService;
import com.prs.crm.service.impl.BaseServiceImpl;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2011-3-2 下午03:20:40 简单说明
 */

public class OrderServiceImpl extends BaseServiceImpl<PoplarOrder, OrderDao>
		implements OrderService {

	@Override
	public void saveOrupdate(PoplarOrder order) {
		this.getDao().saveOrupdate(order);
	}

	@Override
	public List<PoplarOrder> getAllOrderList() {
		// TODO Auto-generated method stub
		return this.getDao().getAllOrderList();
	}

	@Override
	public List<PoplarOrder> getAllPopOrder(String date, Date startTime,
			Date endTime, String dealSate) {
		// TODO Auto-generated method stub
		return this.getDao().getAllPopOrder(date, startTime, endTime, dealSate);
	}

	@Override
	public List<PoplarOrder> getServerStylePopOrder(String date,
			Date startTime, Date endTime, String dealSate, Services services) {
		// TODO Auto-generated method stub
		return this.getDao().getServerStylePopOrder(date, startTime, endTime,
				dealSate, services);
	}

	@Override
	public List<PoplarOrder> getCompanyPopOrder(String date, Date startTime,
			Date endTime, String dealSate, String company) {
		// TODO Auto-generated method stub
		return this.getDao().getCompanyPopOrder(date, startTime, endTime,
				dealSate, company);
	}

	@Override
	public List<PoplarOrder> getAllBydealState(String deal) {
		// TODO Auto-generated method stub
		return this.getDao().getAllBydealState(deal);
	}

	@Override
	public List<PoplarOrder> getBydealState(String deal) {
		// TODO Auto-generated method stub
		return this.getDao().getBydealState(deal);
	}

	@Override
	public List<PoplarOrder> getByPersonandDate(String date, Date startTime,
			Date endTime, Person person) {
		// TODO Auto-generated method stub
		return this.getDao().getByPersonandDate(date, startTime, endTime, person);
	}

	@Override
	public PoplarOrder getBycusName(String names) {
		// TODO Auto-generated method stub
		return this.getDao().getBycusName(names);
	}

	@Override
	public List<PoplarOrder> getBycompany(Company com) {
		// TODO Auto-generated method stub
		return this.getDao().getBycompany(com);
	}

	@Override
	public List<PoplarOrder> getByPerson(Person person) {
		// TODO Auto-generated method stub
		return this.getDao().getByPerson(person);
	}

	@Override
	public List<PoplarOrder> getDispatchOrder() {
		// TODO Auto-generated method stub
		return this.getDao().getDispatchOrder();
	}

	@Override
	public List<PoplarOrder> getTraferOrder() {
		// TODO Auto-generated method stub
		return this.getDao().getTraferOrder();
	}

	@Override
	public Integer delOrder() {
		// TODO Auto-generated method stub
		return this.getDao().delOrder();
	}

	@Override
	public List<PoplarOrder> getByServicesOrder(Services services) {
		// TODO Auto-generated method stub
		return this.getDao().getByServicesOrder(services);
	}

	@Override
	public List<PoplarOrder> getByPersons(Person person) {
		// TODO Auto-generated method stub
		return this.getDao().getByPersons(person);
	}

	@Override
	public List<PoplarOrder> getCurrentOrder(Date startTime, Date endTime) {
		// TODO Auto-generated method stub
		return this.getDao().getCurrentOrder(startTime, endTime);
	}

}
